package com.jqgrid.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chpro.orm.hibernate.DaoBase;
import com.chpro.orm.hibernate.ServiceBaseImpl;
import com.jqgrid.dao.StudentDao;
import com.jqgrid.entity.Student;
import com.jqgrid.service.StudentService;

@Service(value="studentServiceImpl")
public class StudentServiceImpl extends ServiceBaseImpl<Student> implements StudentService {

	private StudentDao studentDao;
	
	@Resource(name="studentDaoImpl")
	public void setStudentDao(StudentDao studentDao) {
		this.studentDao = studentDao;
	}

	@Override
	public DaoBase<Student> getDao() {
		return studentDao;
	}

}
